package com.dk.uaa.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dk.uaa.po.SysPermission;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

import java.util.List;

public interface SysPermissionMapper extends BaseMapper<SysPermission> {
    /**
     * 通过useid查到到他的所有权限
     * @param id
     * @return 权限列表
     */
    String[] selectPermissionByAdminId(Long adminId);

}